README File for "Respect the Process: The Public Cost of Unilateral Action in Comparative Perspective"
Jonathan Chu and Scott Williamson
The Journal of Politics
October 2023

*** Code files

[1] Chu_Williamson_JOP_Replication.do: Stata Do file for all regressions and other data analysis, as well as figures from the SI. 
This code will draw from the data files below under "**[1]** Data Files for Analysis"
Note that regression results used for figures displayed in main paper are generated in this file. 

[2] Plots_JOP_Final.r: R code for all figures in the manuscript, based on the anlaysis and output from Chu_Williamson_JOP_Replication.
This code will draw from the data files below under "**[2]** Data Files for Plotting in R"

**[1]** Data Files for Analysis

* cw_jop_usa.dta: data from first US study used for primary results in the manuscript.

* cw_jop_egypt.dta: data from Egypt study used for primary results in the manuscript.

* cw_jop_usa_followup1.dta: data from follow-up study 1 in USA.

* cw_jop_usa_followup2.dta: data from follow-up study 2 in USA.

* barometer_data.dta: data used for observational analysis of Afro, Asian, and Arab Barometer surveys.

* barometer_survey_level_data.dta: data used for observational analysis at the country-wave level of the Afro, Asian, and Arab Barometers.

* vdem_case_data.csv: data used to situate Egypt and USA cases among autocracies and democracies.


**[2]** Data Files for Plotting in R 
(estimates used to produce these plots are taken from the analysis conducted in [1] above)

* main_effects_data.csv: data for Figure 1 of manuscript.

* partisan_usa_data.csv: data for USA results in Figure 2 of the manuscript.

* partisan_egypt_data.csv: data for Egypt results in Figure 2 of the manuscript.

* mechanism_data.csv: data for Figure 3 of the manuscript.

* poll_data.csv: data for Figure 4 of the manuscript.

* dem_important_data.csv: data for Figure 5 of the manuscript.

* descriptive-country-correlations.csv: data for Figure A.8 in the SI.